<template>
	<!-- <div class="audio_url" v-if="audioUrl != '' && audioUrl != null">
		<audio :src="baseUrl + audioUrl" controls="controls"></audio>
	</div>-->
	<div class="audio_url" v-if="isAudio">
		<audio :src="baseUrl + audioUrl" controls="controls"></audio>
	</div>
</template>
<script>
export default {
	props: {
		audioUrl: {
			type: null,
			default: '',
		},
		isAudio: false,
	},
	data() {
		return {
			baseUrl: process.env.VUE_APP_BASE_API,
		}
	},
	methods: {},
}
</script>
<style scoped>
.audio_url {
	margin: 5px;
}
</style>